package com.jk.dmuserprovider.controller;

import com.jk.dmuserprovider.service.OrderService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @描述
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@RestController
@RequestMapping("ding")
public class OrdController {
    @Resource
    private OrderService orderService;

    @RequestMapping("findOrder")
    public Object findOrder( String orderId){
        return orderService.findOrder(orderId);
    }

    @RequestMapping("findcouponId")
    public Object findcouponId(Integer couponId){
        return  orderService.findcouponId(couponId);
    }
}
